package com.direct.ratelimit.threshold;

/**
 * the mapping of the limit to the action based on the percentage of the limit
 * 
 * @author shaun
 * 
 */
public class ThresholdConfig {

	private final String limitId;
	private final String actionId;
	private final int percentage;

	public ThresholdConfig(String limitId, String actionId, int percentage) {
		super();
		this.limitId = limitId;
		this.actionId = actionId;
		this.percentage = percentage;
	}

	public String getLimitId() {
		return limitId;
	}

	public String getActionId() {
		return actionId;
	}

	public int getPercentage() {
		return percentage;
	}

}
